POV-Ray : Newsgroups : povray.general : newly installed on linux box ... few questions : Re: newly installed on linux box ... few questions Server Time
10 Aug 2024 11:27:27 EDT (-0400)
  Re: newly installed on linux box ... few questions  
From: Steve Martin
Date: 4 Jan 2000 21:35:34
Message: <3872ADC9.FD147AE0@usit.net>
> Also, the reason I did it this way is so my wife or I could use the Win
> machine while I have something rendering on the Linux machine. Is there a
> way to let it render in the background, even if I am not currently
> telnetted/logged into the machine?

This sounds like a typical use of the "detached" process. To get the
render to proceed "in the background" (actually, as a separate
process detached from the controlling terminal), precede your
POV-Ray invocation with the word "nohup" and follow it with
" > /dev/null &", as in the following example:

nohup s-povray +Iinput.pov > /dev/null &

The "nohup" tells Linux to continue the process even after
the original login process terminates (i.e. after you log
off), the "> /dev/null" redirects standard-output to a
null file so it doesn't clutter up the terminal, and the
trailing "&" (ampersand) causes the process to detach from
the terminal from which you start it, running as a
separate process. Of course, this will remove the "progress
indication" you were wanting, as it does not output to the
terminal during this time, but it will run the render in
the background.

Hope this helps.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.